
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>在新浪云上部署 · NideShop 文档</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="tumobi@163.com">
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="deployment-ubuntu.html" />
    
    
    <link rel="prev" href="deployment.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="https://nideshop.com/docs" target="_blank" class="custom-link">NideShop 文档</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="environment.html">
            
                <a href="environment.html">
            
                    
                    环境要求
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="development.html">
            
                <a href="development.html">
            
                    
                    本地开发
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="deployment.html">
            
                <a href="deployment.html">
            
                    
                    线上部署
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.4.1" data-path="deployment-sinacloud.html">
            
                <a href="deployment-sinacloud.html">
            
                    
                    在新浪云上部署
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="deployment-ubuntu.html">
            
                <a href="deployment-ubuntu.html">
            
                    
                    在阿里云上部署(Ubuntu)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="deployment-centos.html">
            
                <a href="deployment-centos.html">
            
                    
                    在阿里云上部署(Centos)
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="config.html">
            
                <a href="config.html">
            
                    
                    配置
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="config-wechat.html">
            
                <a href="config-wechat.html">
            
                    
                    微信登录和支付
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >在新浪云上部署</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x5728;&#x65B0;&#x6D6A;&#x4E91;&#x4E0A;&#x90E8;&#x7F72;">&#x5728;&#x65B0;&#x6D6A;&#x4E91;&#x4E0A;&#x90E8;&#x7F72;</h1>
<h3 id="&#x4E00;&#x3001;&#x8D2D;&#x4E70;&#x65B0;&#x6D6A;&#x4E91;sae">&#x4E00;&#x3001;&#x8D2D;&#x4E70;&#x65B0;&#x6D6A;&#x4E91;SAE</h3>
<ul>
<li>&#x4E3A;&#x4EC0;&#x4E48;&#x9009;&#x62E9;SAE&#xFF1F;&#x514D;&#x8D39;&#x4E8C;&#x7EA7;&#x57DF;&#x540D;&#x548C;&#x652F;&#x6301;https&#x8BBF;&#x95EE;&#xFF0C;&#x4E0D;&#x7528;&#x5907;&#x6848;&#xFF0C;&#x53EF;&#x7528;&#x505A;&#x5FAE;&#x4FE1;&#x5C0F;&#x7A0B;&#x5E8F;&#x670D;&#x52A1;&#x5668;&#x3002;</li>
<li>SAE&#x63A8;&#x8350;&#x94FE;&#x63A5;&#xFF1A;<a href="http://t.cn/RqUxRgi" target="_blank">http://sae.sina.com.cn/</a></li>
<li>&#x9009;&#x62E9;&#x5BF9;&#x5E94;&#x7684;&#x90E8;&#x7F72;&#x73AF;&#x5883;<ul>
<li>&#x81EA;&#x5B9A;&#x4E49;</li>
<li>&#x5F00;&#x53D1;&#x8A00;&#x8BED;&#xFF1A;&#x81EA;&#x5B9A;&#x4E49;</li>
<li>&#x8FD0;&#x884C;&#x73AF;&#x5883;&#xFF1A;&#x4E91;&#x5BB9;&#x5668;</li>
<li>&#x8BED;&#x8A00;&#x7248;&#x672C;&#xFF1A;&#x81EA;&#x5B9A;&#x4E49;</li>
<li>&#x90E8;&#x7F72;&#x65B9;&#x5F0F;&#xFF1A;&#x624B;&#x5DE5;&#x90E8;&#x7F72;</li>
<li>&#x73AF;&#x5883;&#x914D;&#x7F6E;&#xFF1A;&#x9009;&#x62E9;&#x7B2C;&#x4E00;&#x9879;</li>
<li>&#x5B9E;&#x4F8B;&#x4E2A;&#x6570;&#xFF1A;1&#xFF08;&#x6D4B;&#x8BD5;&#x7528;&#x9009;&#x62E9;1&#x4E2A;&#x5373;&#x53EF;&#xFF09;</li>
<li>&#x4E8C;&#x7EA7;&#x57DF;&#x540D;&#xFF1A;&#x586B;&#x5199;&#x4F60;&#x7684;&#x57DF;&#x540D;&#xFF08;&#x8FD9;&#x91CC;&#x4E3A;&#xFF1A;nideshop.applinzi.com&#xFF09;</li>
<li>&#x5E94;&#x7528;&#x540D;&#x79F0;&#xFF1A;&#x586B;&#x5199;&#x4F60;&#x7684;&#x540D;&#x79F0;&#xFF08;nideshop&#xFF09;</li>
</ul>
</li>
</ul>
<blockquote>
<p>&#x6587;&#x4E2D;&#x51FA;&#x73B0;nideshop.applinzi.com&#x7684;&#x5730;&#x65B9;&#xFF0C;&#x8BF7;&#x66FF;&#x6362;&#x4E3A;&#x4F60;&#x914D;&#x7F6E;&#x7684;&#x4E8C;&#x7EA7;&#x57DF;&#x540D;</p>
</blockquote>
<p><img src="http://upload-images.jianshu.io/upload_images/3985656-634a56e06b3b77f7.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="&#x9009;&#x62E9;&#x90E8;&#x7F72;&#x73AF;&#x5883;"></p>
<h3 id="&#x4E8C;&#x3001;&#x901A;&#x8FC7;ssh&#x8FDE;&#x63A5;&#x4E91;&#x5BB9;&#x5668;">&#x4E8C;&#x3001;&#x901A;&#x8FC7;SSH&#x8FDE;&#x63A5;&#x4E91;&#x5BB9;&#x5668;</h3>
<p>windows&#x4E0B;&#x7684;&#x914D;&#x7F6E;&#x6559;&#x7A0B;&#xFF1A;<a href="http://www.sinacloud.com/home/index/faq_detail/doc_id/173.html" target="_blank">http://www.sinacloud.com/home/index/faq_detail/doc_id/173.html</a></p>
<h3 id="&#x4E09;&#x3001;&#x5B89;&#x88C5;&#x914D;&#x7F6E;nginx">&#x4E09;&#x3001;&#x5B89;&#x88C5;&#x914D;&#x7F6E;nginx</h3>
<pre><code>apt update -y
apt upgrade -y
apt install nginx curl vim -y
service nginx start 
curl localhost
</code></pre><p>&#x6B64;&#x65F6;&#x53D1;&#x73B0;&#x5728;&#x5916;&#x7F51;&#x5E76;&#x4E0D;&#x80FD;&#x8BBF;&#x95EE; <a href="https://nideshop.applinzi.com/" target="_blank">https://nideshop.applinzi.com/</a> &#xFF0C;&#x9519;&#x8BEF;&#x8FD4;&#x56DE;
502 Bad Gateway
&#x8FD9;&#x4E2A;&#x9519;&#x8BEF;&#x5B98;&#x65B9;&#x6587;&#x6863;&#x6709;&#x8BF4;&#x660E;&#xFF1A; <a href="http://www.sinacloud.com/doc/sae/docker/vm-getting-started.html" target="_blank">http://www.sinacloud.com/doc/sae/docker/vm-getting-started.html</a></p>
<p>&#x89E3;&#x51B3;&#x65B9;&#x6CD5;&#xFF1A;&#x66F4;&#x6539;nginx&#x9ED8;&#x8BA4;&#x76D1;&#x542C;&#x7684;&#x7AEF;&#x53E3;80&#x4E3A;5050&#xFF0C;&#x5E76;&#x91CD;&#x65B0;&#x542F;&#x52A8;nginx</p>
<pre><code>vim /etc/nginx/sites-available/default
nginx -t
service nginx restart
</code></pre><p><img src="http://upload-images.jianshu.io/upload_images/3985656-fde98309d0b01249.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="&#x6B64;&#x5904;&#x8F93;&#x5165;&#x56FE;&#x7247;&#x7684;&#x63CF;&#x8FF0;"></p>
<p>&#x518D;&#x6B21;&#x8BBF;&#x95EE; <a href="https://nideshop.applinzi.com/" target="_blank">https://nideshop.applinzi.com/</a> &#xFF0C;&#x6210;&#x529F;&#x8FD4;&#x56DE;
Welcome to nginx!</p>
<h3 id="&#x56DB;&#x3001;&#x901A;&#x8FC7;nvm&#x5B89;&#x88C5;nodejs">&#x56DB;&#x3001;&#x901A;&#x8FC7;nvm&#x5B89;&#x88C5;node.js</h3>
<ul>
<li>&#x5B89;&#x88C5; nvm
<a href="https://github.com/creationix/nvm" target="_blank">https://github.com/creationix/nvm</a> <pre><code>curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh | bash
</code></pre></li>
<li><p>nvm&#x5B89;&#x88C5;&#x6210;&#x529F;&#x540E;&#xFF0C;&#x6267;&#x884C;&#x4EE5;&#x4E0B;&#x547D;&#x4EE4;</p>
<pre><code>source ~/.bashrc
</code></pre></li>
<li><p>&#x67E5;&#x770B;&#x6700;&#x65B0;&#x7248;&#x672C;&#x7684;Node.js&#x5E76;&#x5B89;&#x88C5;</p>
<pre><code>nvm ls-remote
NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node nvm install v8.1.4
node -v
</code></pre></li>
</ul>
<h3 id="&#x4E94;&#x3001;&#x914D;&#x7F6E;&#x5171;&#x4EAB;&#x578B;mysql&#x5E76;&#x5BFC;&#x5165;&#x6570;&#x636E;">&#x4E94;&#x3001;&#x914D;&#x7F6E;&#x5171;&#x4EAB;&#x578B;MySQL&#x5E76;&#x5BFC;&#x5165;&#x6570;&#x636E;</h3>
<p>&#x521B;&#x5EFA;MySQL&#x6210;&#x529F;&#x540E;&#xFF0C;&#x9009;&#x62E9;&#x7BA1;&#x7406;&#x64CD;&#x4F5C;&#xFF0C;&#x8FDB;&#x5165;&#x5230; phpmyadmin &#x9875;&#x9762;&#xFF0C;&#x9009;&#x9879;&#x5BFC;&#x5165;
&#x9009;&#x62E9;nideshop&#x9879;&#x76EE;&#x6839;&#x76EE;&#x5F55;&#x4E0B;&#x7684; nideshop.sql &#x6587;&#x4EF6;</p>
<h3 id="&#x516D;&#x3001;&#x672C;&#x5730;&#x90E8;&#x7F72;nideshop">&#x516D;&#x3001;&#x672C;&#x5730;&#x90E8;&#x7F72;NideShop</h3>
<ul>
<li>&#x4E0B;&#x8F7D;NideShop&#x7684;&#x6E90;&#x7801;<pre><code>apt install git -y
cd /var/www
git clone https://github.com/tumobi/nideshop
</code></pre></li>
<li>&#x5B89;&#x88C5;ThinkJS<pre><code>npm install  think-cli -g --registry=https://registry.npm.taobao.org --verbose
thinkjs --version
</code></pre></li>
<li><p>&#x5B89;&#x88C5;&#x4F9D;&#x8D56;</p>
<pre><code>cd /var/www/nideshop
npm install --registry=https://registry.npm.taobao.org --verbose
</code></pre></li>
<li><p>&#x914D;&#x7F6E;mysql</p>
<pre><code>vim src/common/config/adapter.js
</code></pre><p>&#x4FEE;&#x6539;&#x540E;&#xFF1A;</p>
<pre><code>/**
* model adapter config
* @type {Object}
*/
exports.model = {
type: &apos;mysql&apos;,
common: {
  logConnect: isDev,
  logSql: isDev,
  logger: msg =&gt; think.logger.info(msg)
},
mysql: {
  handle: mysql,
  database: &apos;app_&apos; + process.env.APPNAME,
  prefix: &apos;nideshop_&apos;,
  encoding: &apos;utf8mb4&apos;,
  host: process.env.MYSQL_HOST,
  port: process.env.MYSQL_PORT,
  user: process.env.ACCESSKEY,
  password: process.env.SECRETKEY,
  dateStrings: true
}
};
</code></pre><blockquote>
<p>Node.js&#x8FDE;&#x63A5;MySQL&#x53C2;&#x8003;&#x6587;&#x6863;&#xFF1A; <a href="http://www.sinacloud.com/doc/sae/docker/howto-use-mysql.html#nodejs" target="_blank">http://www.sinacloud.com/doc/sae/docker/howto-use-mysql.html#nodejs</a></p>
</blockquote>
</li>
<li><p>&#x542F;&#x52A8;&#xFF1A;</p>
<pre><code>npm start
curl localhost:8360
</code></pre><p><strong><em>&#x6D4B;&#x8BD5;&#x6210;&#x529F;&#x540E;&#x8BB0;&#x5F97;&#xFF1A; Ctrl + C &#x505C;&#x6B62;&#x8FD0;&#x884C;</em></strong></p>
</li>
<li><p>&#x5982;&#x679C;&#x4F60;&#x9047;&#x5230;npm start &#x5931;&#x8D25;&#xFF0C;&#x9519;&#x8BEF;&#x4FE1;&#x606F;&#x5982;&#x4E0B;&#xFF1A;
<img src="http://upload-images.jianshu.io/upload_images/3985656-d47d276f61dcda10.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png">
&#x53EF;&#x53C2;&#x8003;&#x5982;&#x4E0B;&#x89E3;&#x51B3;&#x65B9;&#x6CD5;&#xFF1A;
thinkjs 3&#x9ED8;&#x8BA4;&#x4F7F;&#x7528;&#x5F53;&#x524D; cpu &#x7684;&#x4E2A;&#x6570;&#x6765;&#x542F;&#x7528;&#x5B50;&#x8FDB;&#x7A0B;&#x7684;&#x6570;&#x91CF;&#xFF0C;&#x6240;&#x4EE5;&#x4FEE;&#x6539;workers&#x6570;&#x91CF;&#x4E3A;1</p>
<pre><code>  vim vim src/common/config/config.js
</code></pre><p>&#x4FEE;&#x6539;&#x540E;&#xFF1A;</p>
</li>
</ul>
<p><img src="http://upload-images.jianshu.io/upload_images/3985656-093c18878ebc7306.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p><strong>&#x5982;&#x679C;&#x8FD8;&#x662F;&#x672A;&#x89E3;&#x51B3;&#xFF0C;&#x53EF;&#x4EE5;&#x5C1D;&#x8BD5;&#x9009;&#x62E9;&#x73AF;&#x5883;&#x914D;&#x7F6E;&#x6700;&#x9AD8;&#x7684;</strong></p>
<p><img src="http://upload-images.jianshu.io/upload_images/3985656-6b476ea89957feba.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="&#x4E03;-&#x901A;&#x8FC7;nginx&#x3001;pm2&#x8FDB;&#x884C;&#x7EBF;&#x4E0A;&#x90E8;&#x7F72;">&#x4E03; &#x901A;&#x8FC7;nginx&#x3001;pm2&#x8FDB;&#x884C;&#x7EBF;&#x4E0A;&#x90E8;&#x7F72;</h3>
<ul>
<li><p>&#x7F16;&#x8BD1;&#x9879;&#x76EE;</p>
<pre><code>npm run compile
</code></pre></li>
<li><p>&#x4FEE;&#x6539;nginx&#x914D;&#x7F6E;
/etc/nginx/sites-available/default &#x4FEE;&#x6539;&#x540E;</p>
</li>
</ul>
<pre><code>server {
    listen 5050;
    server_name nideshop.applinzi.com;
    root /var/www/nideship/www;
    set $node_port 8360;

    index index.js index.html index.htm;
    if ( -f $request_filename/index.html ){
        rewrite (.*) $1/index.html break;
    }
    if ( !-f $request_filename ){
        rewrite (.*) /index.js;
    }
    location = /index.js {
        proxy_http_version 1.1;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_set_header X-NginX-Proxy true;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection &quot;upgrade&quot;;
        proxy_pass http://127.0.0.1:$node_port$request_uri;
        proxy_redirect off;
    }

    location ~ /static/ {
        etag         on;
        expires      max;
    }
}
</code></pre><ul>
<li>&#x6D4B;&#x8BD5;&#x901A;&#x8FC7;nginx&#x8BBF;&#x95EE;
&#x542F;&#x52A8;&#x670D;&#x52A1;</li>
</ul>
<pre><code>node www/production.js
</code></pre><p>&#x5916;&#x7F51;&#x901A;&#x8FC7;&#x6D4F;&#x89C8;&#x5668;&#x8BBF;&#x95EE;: <a href="https://nideshop.applinzi.com/" target="_blank">https://nideshop.applinzi.com/</a>
<strong><em>&#x6D4B;&#x8BD5;&#x6210;&#x529F;&#x540E;&#x8BB0;&#x5F97;&#xFF1A; Ctrl + C &#x505C;&#x6B62;&#x8FD0;&#x884C;</em></strong></p>
<ul>
<li>&#x5B89;&#x88C5;&#x914D;&#x7F6E;pm2<pre><code>npm install -g pm2
</code></pre></li>
</ul>
<p>&#x4FEE;&#x6539;&#x9879;&#x76EE;&#x6839;&#x76EE;&#x5F55;&#x4E0B;&#x7684;pm2.json&#x4E3A;&#xFF1A;</p>
<pre><code>{
  &quot;apps&quot;: [{
    &quot;name&quot;: &quot;nideshop&quot;,
    &quot;script&quot;: &quot;production.js&quot;,
    &quot;cwd&quot;: &quot;/var/www/nideshop&quot;,
    &quot;exec_mode&quot;: &quot;fork&quot;,
    &quot;max_memory_restart&quot;: &quot;256M&quot;,
    &quot;autorestart&quot;: true,
    &quot;instances&quot;: 1,
    &quot;node_args&quot;: [],
    &quot;args&quot;: [],
    &quot;env&quot;: {

    }
  }]
}
</code></pre><p>&#x542F;&#x52A8;pm2</p>
<pre><code>pm2 startOrReload pm2.json
</code></pre><ul>
<li>&#x53C2;&#x8003;&#x6587;&#x6863;&#xFF1A;ThinkJS&#x7EBF;&#x4E0A;&#x90E8;&#x7F72;&#x6587;&#x6863;&#xFF1A; <a href="https://thinkjs.org/zh-cn/doc/3.0/deploy.html" target="_blank">https://thinkjs.org/zh-cn/doc/3.0/deploy.html</a></li>
</ul>
<h3 id="&#x516B;-&#x4FEE;&#x6539;nideshop&#x5FAE;&#x4FE1;&#x5C0F;&#x7A0B;&#x5E8F;&#x7684;&#x914D;&#x7F6E;">&#x516B; &#x4FEE;&#x6539;NideShop&#x5FAE;&#x4FE1;&#x5C0F;&#x7A0B;&#x5E8F;&#x7684;&#x914D;&#x7F6E;</h3>
<p>&#x5FAE;&#x4FE1;&#x5C0F;&#x7A0B;&#x5E8F;&#x5546;&#x57CE;GitHub: <a href="https://github.com/tumobi/nideshop-mini-program" target="_blank">https://github.com/tumobi/nideshop-mini-program</a> </p>
<p>&#x6253;&#x5F00;&#x6587;&#x4EF6;config/api.js&#xFF0C;&#x4FEE;&#x6539; NewApiRootUrl &#x4E3A;&#x81EA;&#x5DF1;&#x7684;&#x57DF;&#x540D;&#xFF0C;&#x6CE8;&#x610F;&#x662F; https &#x548C;&#x540E;&#x9762;&#x7684; api/ &#x4E0D;&#x80FD;&#x5C11;</p>
<pre><code>var NewApiRootUrl = &apos;https://nideshop.applinzi.com/api/&apos;;
</code></pre><p>&#x5230;&#x6B64;&#x90E8;&#x7F72;&#x6210;&#x529F;&#x3002;&#x5982;&#x6709;&#x95EE;&#x9898;&#x8BF7;&#x52A0;QQ&#x7FA4;&#xFF1A;497145766</p>

                                
                                </section>
                            
                        </div>
                    </div>
                
            </div>

            
                
                <a href="deployment.html" class="navigation navigation-prev " aria-label="Previous page: 线上部署">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="deployment-ubuntu.html" class="navigation navigation-next " aria-label="Next page: 在阿里云上部署(Ubuntu)">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"在新浪云上部署","level":"1.4.1","depth":2,"next":{"title":"在阿里云上部署(Ubuntu)","level":"1.4.2","depth":2,"path":"deployment-ubuntu.md","ref":"deployment-ubuntu.md","articles":[]},"previous":{"title":"线上部署","level":"1.4","depth":1,"path":"deployment.md","ref":"deployment.md","articles":[{"title":"在新浪云上部署","level":"1.4.1","depth":2,"path":"deployment-sinacloud.md","ref":"deployment-sinacloud.md","articles":[]},{"title":"在阿里云上部署(Ubuntu)","level":"1.4.2","depth":2,"path":"deployment-ubuntu.md","ref":"deployment-ubuntu.md","articles":[]},{"title":"在阿里云上部署(Centos)","level":"1.4.3","depth":2,"path":"deployment-centos.md","ref":"deployment-centos.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-search","-lunr","-highlight","sitemap"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sitemap":{"hostname":"https://nideshop.com/docs"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"tumobi@163.com","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"NideShop 文档","language":"zh-hans","links":{"sidebar":{"NideShop 文档":"https://nideshop.com/docs"}},"gitbook":"*","description":"NideShop：基于Node.js+MySQL开发的开源微信小程序商城"},"file":{"path":"deployment-sinacloud.md","mtime":"2018-01-14T03:57:03.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-01-14T03:58:28.036Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

